Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove states UI options in group integration #32021

Merged
merged 1 commit into from
Feb 20, 2020
Merged

Remove states UI options in group integration #32021

merged 1 commit into from
Feb 20, 2020

Conversation

frenck
Copy link
Member

@frenck frenck commented Feb 20, 2020

Breaking change

Group configurations options, services and service options related to the old states UI were deprecated in 0.105 and now removed.

This includes:

  • The view and control configuration options for a group.
  • The group.set_visibility service call
  • The control, visible, view options on the group.set service call.

Please ensure your configuration and automations don't use these anymore.

Proposed change

Remove states UI options in group integration, deprecated in 0.105: #30831
Documentation was already removed on initial deprecation.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

@frenck frenck requested a review from a team as a code owner February 20, 2020 13:36
@project-bot project-bot bot added this to Needs review in Dev Feb 20, 2020
@probot-home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this pull request as its been labeled with a integration (group) you are listed as a codeowner for? Thanks!

@@ -257,7 +244,7 @@ def groups_with_entity(hass: HomeAssistantType, entity_id: str) -> List[str]:

extra_arg = {
attr: service.data[attr]
for attr in (ATTR_VISIBLE, ATTR_ICON, ATTR_VIEW, ATTR_CONTROL)
for attr in (ATTR_ICON)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now you're iterating over each character in the string, one comma is all the difference…

Suggested change
for attr in (ATTR_ICON)
for attr in (ATTR_ICON,)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we on top of this, to fix it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, seeing the notification just now. Adjusting.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why I merged this without being addressed 🤦‍♂

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before coffee ☕️ 😉

All good now 👍

Dev automation moved this from Needs review to Reviewer approved Feb 20, 2020
@balloob balloob merged commit 2ad1f7f into dev Feb 20, 2020
Dev automation moved this from Reviewer approved to Done Feb 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the frenck-2020-0210 branch February 20, 2020 16:26
@lock lock bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Dev
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants